/**
 * The main application class. An instance of this class is created by app.js
 * when it calls Ext.application(). This is the ideal place to handle
 * application launch and initialization details.
 */
Ext.define('Jason.Application', {
    extend: 'Ext.app.Application',
    name: 'Jason',
    quickTips: false,
    platformConfig: {
        desktop: {
            quickTips: true
        }
    },
    onAppUpdate: function () {
        Ext.create("Wys.window.UpdateNotice", {
            viewModel: {
                data: {
                    updateDate: '',
                    title: '升级说明'
                },
                stores: {
                    updateNotice: {
                        type: 'store',
                        data: [{
                            content: "系统页面优化,性能调整"
                        }, {
                            content: "解决反馈问题"
                        }, {
                            content: "增加系统用户首页"
                        }, {
                            content: "解决系统部分bug，优化流程操作以及响应速度等"
                        }]
                    }
                }
            }
        }).show();
    }
});